﻿<Window x:Class="SqLiteEditor.Forms.FrmRenameIndex"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Rename Index" Height="169" Width="302" Icon="/SqLiteEditor;component/Resources/DataToolBar/tabel.png" ResizeMode="NoResize" Topmost="True" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="85*"/>
            <RowDefinition Height="33*"/>
        </Grid.RowDefinitions>
        <GroupBox BorderThickness="1" BorderBrush="Gray" Margin="1" Header="Information">
            <Grid Margin="0,0,2,2">
                <TextBlock Grid.Row="0" HorizontalAlignment="Left" Margin="9,22,0,0" TextWrapping="Wrap" Text="Old Name :" VerticalAlignment="Top"/>
                <TextBlock HorizontalAlignment="Left" Margin="9,50,0,0" TextWrapping="Wrap" Text="New Name : " VerticalAlignment="Top"/>
                <TextBox HorizontalAlignment="Left" Height="23" Margin="122,19,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="158" IsReadOnly="True" Background="#FFECE7E7" Text="{Binding OldName}"/>
                <TextBox x:Name="txt_NewName" HorizontalAlignment="Left" Height="23" Margin="122,50,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="158"  Text="{Binding NewName}"/>
            </Grid>
        </GroupBox>
        
        <Button Name="BtnOk" Content="Ok" HorizontalAlignment="Left" Margin="212,8,0,0" VerticalAlignment="Top" Width="75" Click="BtnOk_Click" Grid.Row="1"/>
        <Button Name="BtnCancel" Content="Cancel" HorizontalAlignment="Left" Margin="132,8,0,0" VerticalAlignment="Top" Width="75" Click="BtnCancel_Click" Grid.Row="1"/>

    </Grid>
</Window>
